﻿using System;
using System.Windows.Forms;
using Kyoh.App.Crawler.Contents;

namespace Kyoh.App.Crawler
{
    partial class LoaderForm : Form
    {
        public LoaderForm()
        {
            InitializeComponent();
            priorityComboBox.DataSource = Enum.GetValues(typeof(SeedPriority));
            priorityComboBox.SelectedIndex = 0;
        }

        public string Uri { get { return pageUriTextBox.Text; } set { pageUriTextBox.Text = value; } }
        public SeedPriority Priority { get { return (SeedPriority)priorityComboBox.SelectedValue; } set { priorityComboBox.SelectedValue = value; } }
    }
}
